package fr.labri.macchiato.framework.business.encoder;

import org.fusesource.restygwt.client.JsonEncoderDecoder;

import com.google.gwt.core.client.GWT;

import fr.labri.macchiato.framework.business.model.product.Model;
import fr.labri.macchiato.framework.technical.encoder.EncoderGeneric;


/**
 * Encoder for the Model class
 * 
 * @author Matthieu FOUCAULT
 *
 */
class ModelEncoder extends EncoderGeneric<Model> {

	interface ModelCodec extends JsonEncoderDecoder<Model> {
	}

	ModelEncoder() {
		codec = GWT.create(ModelCodec.class);
	}

}
